package com.example.expandablelistview.basicwidget;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Toast;

import com.example.expandablelistview.R;

public class ButtonSelector extends Activity {
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.btnselector);
		findViewById(R.id.btnexit).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				String text = "Exit Button Clicked";
				Toast.makeText(ButtonSelector.this, text, Toast.LENGTH_LONG)
						.show();
			}
		});
	}
}
